home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-app-install.postrm < prev    next >
Encoding:
Text File  |  2009-04-30  |  784 b   |  34 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ "$1" = "purge" ]; then
  6.     # remove the cached application data
  7.     rm -f /var/cache/app-install/*
  8. fi
  9.  
  10.  
  11. # Automatically added by dh_scrollkeeper
  12. if [ "$1" = "remove" ] && which scrollkeeper-update >/dev/null 2>&1; then
  13.     scrollkeeper-update -q
  14. fi
  15. # End automatically added section
  16. # Automatically added by dh_gconf
  17. if [ "$1" = purge ]; then
  18.     OLD_DIR=/etc/gconf/schemas
  19.     SCHEMA_FILES="gnome-app-install.schemas "
  20.     if [ -d $OLD_DIR ]; then
  21.         for SCHEMA in $SCHEMA_FILES; do
  22.             rm -f $OLD_DIR/$SCHEMA
  23.         done
  24.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  25.     fi
  26. fi
  27. # End automatically added section
  28. # Automatically added by dh_icons
  29. if which update-icon-caches >/dev/null 2>&1 ; then
  30.     update-icon-caches /usr/share/icons/hicolor
  31. fi
  32. # End automatically added section
  33.  
  34.